/**
 * Copyright (c) 2010-2020 by skzr.org
 * All rights reserved.
 * @Author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @date 2011-3-16 下午11:15:14
 */
package org.skzr.logging.util;

import java.io.IOException;
import java.io.InputStream;

/**
 * 资源文件
 * @author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @version 1.0.0
 * @since JDK1.6
 */
public interface IResource {

	/**
	 * @return 文件名
	 */
	String getFileName();

	/**
	 * @return 资源内容
	 * @throws IOException 失败
	 */
	InputStream getInputStream() throws IOException;

}
